#ifndef QOBJECTLISTWIDGET_H
#define QOBJECTLISTWIDGET_H

#include <QWidget>

class QObjectListView;
namespace CORELIB
{
    class StyledBar;
}

class QObjectListWidget : public QWidget
{
    Q_OBJECT
public:
    explicit QObjectListWidget(QWidget *parent = 0);

signals:
    void    widgetSelect(QWidget* wid);
    void    formAddSignal(QWidget* wid);
    void    addWidgetSignal(QWidget* wid,int);
    void    widgetRemove(QWidget* wid);
    void    clear_object_list();
public slots:
    void    updateObject();
    void    selectWidget(QWidget* wid);
protected:
    QObjectListView     *m_objectList;
    CORELIB::StyledBar  *m_styledBar;
};

#endif // QOBJECTLISTWIDGET_H
